﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
	xmlns:local="clr-namespace:EIA.SLClient.ProjectManage.Basic"
	xmlns:EIA_SLClient_ProjectManage="clr-namespace:EIA.SLClient.ProjectManage;assembly=EIA.SLClient.ProjectManage"
	xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions" xmlns:EIA_SLClient_Utility_Behaviors="clr-namespace:EIA.SLClient.Utility.Behaviors;assembly=EIA.SLClient.Utility"
	mc:Ignorable="d"
	x:Class="EIA.SLClient.ProjectManage.Basic.QueryConditionPanel"
	d:DesignWidth="480" d:DesignHeight="360">
	<UserControl.Resources>
		<local:QueryConditionPanelViewModel x:Key="QueryConditionPanelViewModelDataSource" />
	</UserControl.Resources>
	
	<Grid x:Name="LayoutRoot" DataContext="{Binding Source={StaticResource QueryConditionPanelViewModelDataSource}}">
		<Grid>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="64"/>
				<ColumnDefinition Width="0.5*"/>
				<ColumnDefinition Width="64"/>
				<ColumnDefinition Width="0.5*"/>
			</Grid.ColumnDefinitions>
			<Grid.RowDefinitions>
				<RowDefinition Height="*"/>
				<RowDefinition Height="*"/>
				<RowDefinition Height="*"/>
				<RowDefinition Height="*"/>
				<RowDefinition Height="*"/>
				<RowDefinition Height="*"/>
				<RowDefinition Height="*"/>
				<RowDefinition Height="*"/>
				<RowDefinition Height="*"/>
			</Grid.RowDefinitions>
			<TextBlock TextWrapping="Wrap" Text="项目类型" VerticalAlignment="Center" d:LayoutOverrides="Width" HorizontalAlignment="Right"/>
			<TextBlock TextWrapping="Wrap" Text="项目进度" VerticalAlignment="Center" d:LayoutOverrides="Width" Grid.Column="2" HorizontalAlignment="Right"/>
			<TextBlock TextWrapping="Wrap" Text="项目来源" Grid.Row="1" HorizontalAlignment="Right" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
			<TextBlock TextWrapping="Wrap" Text="项目负责人" VerticalAlignment="Center" Grid.Row="1" Grid.Column="2" HorizontalAlignment="Right"/>
			<TextBlock TextWrapping="Wrap" Text="行业类型" VerticalAlignment="Center" d:LayoutOverrides="Width" Grid.Row="2" HorizontalAlignment="Right"/>
			<TextBlock TextWrapping="Wrap" Text="主持工程师" Grid.Row="2" HorizontalAlignment="Right" Grid.Column="2" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
			<TextBlock TextWrapping="Wrap" Text="开票状态" VerticalAlignment="Center" Grid.Row="3" d:LayoutOverrides="Width" HorizontalAlignment="Right"/>
			<TextBlock TextWrapping="Wrap" Text="到款情况" VerticalAlignment="Center" Grid.Row="3" Grid.Column="2" d:LayoutOverrides="Width" HorizontalAlignment="Right"/>
			<TextBlock TextWrapping="Wrap" Text="建设单位" VerticalAlignment="Center" d:LayoutOverrides="Width" Grid.Row="4" HorizontalAlignment="Right"/>
			<TextBlock TextWrapping="Wrap" Text="合同状态" VerticalAlignment="Center" Grid.Row="5" d:LayoutOverrides="Width" HorizontalAlignment="Right"/>
			<TextBlock TextWrapping="Wrap" Text="合同主体" VerticalAlignment="Center" Grid.Row="5" Grid.Column="2" d:LayoutOverrides="Width" HorizontalAlignment="Right"/>
			<TextBlock TextWrapping="Wrap" Text="项目所在地" d:LayoutOverrides="Height" Grid.Row="6" HorizontalAlignment="Right" VerticalAlignment="Center"/>
			<TextBlock TextWrapping="Wrap" Text="审批部门" VerticalAlignment="Center" Grid.Column="2" Grid.Row="6" d:LayoutOverrides="Width" HorizontalAlignment="Right"/>
			<TextBlock TextWrapping="Wrap" Text="完成时间" VerticalAlignment="Center" Grid.Row="7" d:LayoutOverrides="Width" HorizontalAlignment="Right"/>
			<TextBlock TextWrapping="Wrap" Text="承接时间" VerticalAlignment="Center" Grid.Row="8" d:LayoutOverrides="Width" HorizontalAlignment="Right"/>
			<ComboBox SelectedItem="{Binding XMLX, Mode=TwoWay}" DisplayMemberPath="DicIname" ItemsSource="{Binding XMLXCollection, Source={StaticResource ListsResource}}" Grid.Column="1" d:LayoutOverrides="Height" VerticalAlignment="Center" Margin="16,0,24,0"/>
			<ComboBox SelectedItem="{Binding XMJD, Mode=TwoWay}" DisplayMemberPath="DicIname" ItemsSource="{Binding XMJDCollection, Source={StaticResource ListsResource}}" Grid.Column="3" d:LayoutOverrides="Height" VerticalAlignment="Center" Margin="16,0,24,0"/>
			<ComboBox SelectedItem="{Binding XMLY, Mode=TwoWay}" DisplayMemberPath="DicIname" ItemsSource="{Binding XMLYCollection, Source={StaticResource ListsResource}}" Grid.Column="1" Grid.Row="1" Margin="16,0,24,0" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
			<EIA_SLClient_ProjectManage:StaffSelector StaffCollection="{Binding StaffCollection, Source={StaticResource ListsResource}}" Grid.Column="3" Margin="16,0,24,0" Grid.Row="1" VerticalAlignment="Center" Height="24" SelectedStaff="{Binding XMFZR, Mode=TwoWay}"/>
			<ComboBox SelectedItem="{Binding HYLX, Mode=TwoWay}" DisplayMemberPath="DicIname" ItemsSource="{Binding HYLXCollection, Source={StaticResource ListsResource}}" Grid.Column="1" d:LayoutOverrides="Height" Grid.Row="2" VerticalAlignment="Center" Margin="16,0,24,0"/>
			<ComboBox SelectedItem="{Binding SelectedEngineer, Mode=TwoWay}" Grid.Column="3" d:LayoutOverrides="Height" Grid.Row="2" Margin="16,0,24,0" VerticalAlignment="Center" ItemsSource="{Binding EngineerCollection, Mode=OneWay}" DisplayMemberPath="StfName"/>
			<ComboBox SelectedItem="{Binding KPZT, Mode=TwoWay}" DisplayMemberPath="DicIname" ItemsSource="{Binding KPZTCollection, Source={StaticResource ListsResource}}" Grid.Column="1" Grid.Row="3" d:LayoutOverrides="Height" VerticalAlignment="Center" Margin="16,0,24,0"/>
			<ComboBox SelectedItem="{Binding DKZT, Mode=TwoWay}" DisplayMemberPath="DicIname" ItemsSource="{Binding DKZTCollection, Source={StaticResource ListsResource}}" Grid.Column="3" Grid.Row="3" d:LayoutOverrides="Height" VerticalAlignment="Center" Margin="16,0,24,0"/>
			<TextBox Text="{Binding ConsOrg, Mode=TwoWay}" Grid.Column="1" Margin="16,0,24,0" Grid.Row="4" TextWrapping="Wrap" d:LayoutOverrides="Height" Grid.ColumnSpan="3" VerticalAlignment="Center">
				<i:Interaction.Behaviors>
					<EIA_SLClient_Utility_Behaviors:UpdateTextBindingBehavior/>
				</i:Interaction.Behaviors>
			</TextBox>
			<ComboBox SelectedItem="{Binding HTZT, Mode=TwoWay}" DisplayMemberPath="DicIname" ItemsSource="{Binding HTZTCollection, Source={StaticResource ListsResource}}" Grid.Column="1" Grid.Row="5" Margin="16,0,24,0" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
			<ComboBox SelectedItem="{Binding HTQDZT, Mode=TwoWay}" DisplayMemberPath="DicIname" ItemsSource="{Binding HTQDZTCollection, Source={StaticResource ListsResource}}" Grid.Column="3" Grid.Row="5" Margin="16,0,24,0" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
			<ComboBox SelectedItem="{Binding XMLY, Mode=TwoWay}" DisplayMemberPath="DicIname" ItemsSource="{Binding XMSZDCollection, Source={StaticResource ListsResource}}" Grid.Column="1" d:LayoutOverrides="Height" Grid.Row="6" Margin="16,0,24,0" VerticalAlignment="Center"/>
			<ComboBox SelectedItem="{Binding XMSPBM, Mode=TwoWay}" DisplayMemberPath="DicIname" ItemsSource="{Binding XMSPBMCollection, Source={StaticResource ListsResource}}" Grid.Column="3" Grid.Row="6" Margin="16,0,24,0" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
			<sdk:DatePicker Grid.Column="1" Margin="16,0,24,0" Grid.Row="7" d:LayoutOverrides="Height" VerticalAlignment="Center" SelectedDate="{Binding WCSJ_0, Mode=TwoWay}"/>
			<sdk:DatePicker Grid.Column="3" Margin="16,0,24,0" Grid.Row="7" d:LayoutOverrides="Height" VerticalAlignment="Center" SelectedDate="{Binding WCSJ_1, Mode=TwoWay}"/>
			<sdk:DatePicker Grid.Column="1" Margin="16,0,24,0" Grid.Row="8" d:LayoutOverrides="Height" VerticalAlignment="Center" SelectedDate="{Binding CJSJ_0, Mode=TwoWay}"/>
			<sdk:DatePicker Grid.Column="3" Margin="16,0,24,0" Grid.Row="8" d:LayoutOverrides="Height" VerticalAlignment="Center" SelectedDate="{Binding CJSJ_1, Mode=TwoWay}"/>
			
		</Grid>
	</Grid>
</UserControl>